const Login = () => import("@/pages/Login");
const Home = () => import("@/pages/Home");
const Search = () => import("@/pages/Search");
const Register = () => import("@/pages/Register");
const NotFound = () => import("@/pages/404");

export default [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/login",
    component: Login,
    name: "Login",
    meta: {
      isHidden: true,
    },
  },
  {
    path: "/home",
    component: Home,
    name: "Home",
  },
  {
    path: "/search",
    component: Search,
    name: "Search",
  },
  {
    path: "/register",
    component: Register,
    name: "Register",
    meta: {
      isHidden: true,
    },
  },
  {
    path: "/*",
    component: NotFound,
  },
];
